home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-08-25 | 5.2 KB | 122 lines | [TEXT/CWIE] |
- ========================================================================
- Metrowerks Java StandAlone How To
- ========================================================================
-
- Version: 1.5
- Date: 8-25-98
- Authors: Greg Bolsinga, Michael C. Stricklin, Scott Kovatch,
- Marcus Jager, Tim Freehill
- ========================================================================
-
- StandAlone Java is an application that hosts Java Virtual Machines on
- the Macintosh. It supports Apple's MRJ 2.0 and Metrowerks' JVM. It
- creates double-clickable MacOS java applications.
-
-
- ========================================================================
- How To Use
- ========================================================================
-
- Metrowerks Java StandAlone encapsulates the JVM interface with the
- user's java code. The JVM will be found in the usual places:
-
- MRJ: In the default Extensions folder installation, or next to the
- StandAlone MacOS application, if the user wants to use newer
- versions of MRJ.
-
- MW JVM: The same folder as the generated StandAlone _only_.
-
- Use the Java MacOS Post Linker and set it to MW Standalone.
-
- If the JVM is set to 'Metrowerks' or 'Metrowerks - JIT', the file
- 'Metrowerks VM' & the folders 'Classes' & 'Lib' _must_ be in the same
- folder as the StandAlone MacOS application. If they aren't, StandAlone
- will look for MRJ.
-
- The settings in for MW Standalone control whether a Console window is
- made available and the behavior desired when files are dropped onto
- the resulting StandAlone MacOS application.
-
- The console window won't display itself until it is needed, check or
- uncheck "Has Console Window" to set.
-
- The behavior of the resulting StandAlone MacOS application in relation
- to files dropped onto it can also be modified. In previous versions of
- StandAlone, every file dropped onto the StandAlone MacOS application
- would create a new JVM instance with the filename as an argument added
- to the end of the list. Now there are four options:
-
- 1. No dropped files allowed. No files dropped onto the StandAlone MacOS
- application will ever be added to the java application's argument
- list. It can be started up by a dropped file, but the file is
- ignored. All subsequent dropped files are ignored. This only allows
- one instance of the JVM to be created during the StandAlone MacOS
- application's lifetime.
-
- 2. First dropped file only. Only the first file dropped onto the
- StandAlone MacOS application will be added to the command line
- arguments for the java application. If the StandAlone MacOS
- application is started up without a file dropped upon it, it will
- ignore any more dropped files. This only allows one instance of the
- JVM to be created during the StandAlone MacOS application's lifetime.
-
- 3. Multiple files can be dropped, one JVM. All files dropped onto the
- StandAlone MacOS application will be added added the command line
- arguments for a new java application instance. This allows only one
- instance of the JVM to exist at one time during the StandAlone MacOS
- application's lifetime. It will kill the current instance of the JVM
- whenever a new file is dropped on the StandAlone MacOS application.
-
- 4. Multiple files can be dropped, many JVMs. All files dropped onto the
- StandAlone MacOS application will be added added the command line
- arguments for a new java application instance. This allows many
- instances of the JVM to exist at one time during the StandAlone MacOS
- application's lifetime. This was the previous behavior of the
- StandAlone MacOS application.
-
-
- ========================================================================
- Known Bugs and Incompatibilities
- ========================================================================
-
- * Either MRJ or the Metrowerks JVM may crash StandAlone Java if their
- respective class libraries are not found in their proper places.
-
-
- ========================================================================
- Additional Notes
- ========================================================================
-
- * To use this version of StandAlone Java, the files Metrowerks Java
- JVM, and the Classes and Lib folder must reside in the same folder as
- StandAlone Java. Or MRJ must be properly installed. If you'd like to
- use a newer version of MRJ & keep around an old one, place an alias
- to "MRJLib" next to StandAlone Java. It will find and load the MRJ in
- the application's folder before any installed in the Extensions
- folder.
-
- * The new .cab support in the MW appletviewer (only in the MW JVM) now
- creates a folder called "Retrieved Files" in the same folder as the
- application. This folder is used to store temporary files for the cab
- decompression engine.
-
-
- ========================================================================
- Contacting Metrowerks
- ========================================================================
-
- For bug reports, technical questions, and suggestions, please use the
- forms in the Release Notes folder on the CD, and send them to
-
- support@metrowerks.com
-
- See the CodeWarrior on the Nets document in the Release Notes folder for
- more contact information, including a list of Internet newsgroups,
- online services, and patch and update sites.
-
-
- ========================================================================
-
- Greg Bolsinga
- Metrowerks Corporation
-